{% extends "FOSUserBundle::layout.html.twig" %}
{% block title %}Profil{% endblock %}
{% block titre %}Profil{% endblock %}

{% block fos_user_content %}
<div class="tabbable"> <!-- Only required for left/right tabs -->
    <ul class="nav nav-tabs">
        <li class="active"><a href="#tab1" data-toggle="tab">Mon profil</a></li>
        <li><a href="#tab2" data-toggle="tab">Mes participations</a></li>
        <li><a href="#tab3" data-toggle="tab">Mes repas organisés</a></li>
        <li><a href="#tab4" data-toggle="tab">Mes repas à organiser</a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" id="tab1">
                {% include "FOSUserBundle:Profile:show_content.html.twig" %}
            </div>
            <div class="tab-pane" id="tab2">
                {% include "FOSUserBundle:Profile:show_content_invitations.html.twig" %}
                </div>
                <div class="tab-pane" id="tab3">
                 {% include "FOSUserBundle:Profile:show_content_hote.html.twig" %} 
                    </div>
                    <div class="tab-pane" id="tab4">
                {% include "FOSUserBundle:Profile:show_content_repas.html.twig" %}
                        </div>
                    </div>
                </div>
{% endblock fos_user_content %}
